package com.cqw.commontest;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-04-27 11:41
 * @Description:
 */
public class HttpTest {

    public static void main(String[] args) throws Exception {

        String url = "https://tptbrtctest.life.cntaiping.com/tptb-info/admin/activity/create";
        Map<String, Object> stringStringMap = new HashMap<>();
        stringStringMap.put("title", "123");
        stringStringMap.put("activityTemplateId",11);
        stringStringMap.put("activityThumbUrl", "");
        stringStringMap.put("categoryId",41);
        stringStringMap.put("categoryName", "太平要闻");

        //HttpClientResult httpClientResult = HttpClientUtils.doPost(url, stringStringMap);
        //System.out.println(JSON.toJSONString(httpClientResult));
    }


}
